ExternalFilesInMediaLibrary\Plugin\Helper A

Total Complexity 56
Dependencies 3
Dependents 19
Total lines 511
Lines of code 210
Logical lines of code 98
Comment lines 238
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
delete_directory_recursively()
S
54 7 20
shorten_url()
S
55 6 20
set_capabilities()
S
60 5 13
get_first_administrator_user()
S
58 3 16
get_current_user_id()
S
61 3 12
get_possible_mime_types()
S
50 1 33
get_allowed_mime_types()
S
64 3 10
generate_sizes_filename()
S
63 3 10
get_gprd_url()
S
72 2 6
get_mimetypes_doc_url()
S
72 2 6
get_content_type_from_string()
S
68 2 7
get_intervals()
S
66 2 8
is_cli()
S
79 2 3
get_support_url_for_urls()
S
72 2 6
get_plugin_review_url()
S
72 2 6
get_add_media_url()
S
78 1 3
get_plugin_dir()
S
80 1 3
get_plugin_support_url()
S
81 1 3
get_format_date_time()
S
73 1 4
is_video_by_mime_type()
S
79 1 3
is_image_by_mime_type()
S
79 1 3
is_plugin_active()
S
77 1 3
get_hook_url()
S
81 1 3
get_log_url()
S
79 1 3
get_config_url()
S
80 1 3
get_media_library_url()
S
79 1 3